package com.nuoniu.sibanyun.service.finance;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nuoniu.sibanyun.entity.finance.InSubsidiary;
import com.nuoniu.sibanyun.entity.finance.InSummary;

import java.util.List;


/**
 * <p>
 * 存货总账表 服务类
 * </p>
 *
 * @author 小啊刚
 * @since 2021-05-26
 */
public interface IInSummaryService extends IService<InSummary> {

    /**
     * 存货记账
     * @author 小啊刚
     * @date 2021-07-09
     */
    void inventoryAccounting(List<InSubsidiary> inSubsidiaries);

    /**
     * 获取存货总账
     * @author 小啊刚
     * @date 2021-07-13
     */
    InSummary getSummaryInfo(int accountYear, int accountPeriod, Integer inventoryId, Integer companyId, Integer accountId);

    /**
     * 获取存货总账
     * @author 小啊刚
     * @date 2021-07-17
     */
    Page<InSummary> pageSummaryList(Page page, Integer inventoryId, Integer accountYear, Integer accountPeriod);
}
